

import 'package:flutter/material.dart';



Widget generateSetter(Map info) {
  if (info['setter'] == "BooleanSetter") {
    return Row(
      children: [
        Text(info["describe"]),
        Radio(
          value: "ni号", 
          groupValue: '0', 
          onChanged: (String? value) {

          }
        ),
        Text(info["describe"]),
      ],
    );
  }
  return Text("未配置${info['setter']}");
}